﻿<UserControl x:Class="EMath.Controls.Arithmetic.Divisibility"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="325" d:DesignWidth="550">
	<Grid>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="275*" />
			<ColumnDefinition Width="275*" />
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="35" />
			<RowDefinition Height="48" />
			<RowDefinition Height="Auto" />
			<RowDefinition Height="150*" />
			<RowDefinition Height="Auto" />
		</Grid.RowDefinitions>
		<Button Height="22" HorizontalAlignment="Left" Width="22" Margin="5,0,0,0" BorderBrush="#00000000" Background="#00000000" Click="Back">
			<Image Source="/EMath;component/Resources/Home.jpg" />
		</Button>
		<TextBlock HorizontalAlignment="Center" Text="Podzielność liczb" FontSize="22" Grid.ColumnSpan="2" />
		<GroupBox Header="Liczba:" Grid.Row="1">
			<StackPanel Orientation="Horizontal">
				<TextBox Name="TB1_Num" Height="23" Width="120" TextChanged="TB1_Num_TextChanged" />
				<Button Content="Stop" Height="23" Click="Stop" />
			</StackPanel>
		</GroupBox>
		<GroupBox Header="Liczba:" Grid.Row="1" Grid.Column="1">
			<StackPanel Orientation="Horizontal">
				<TextBox Name="TB2_Num" Height="23" Width="120" TextChanged="TB2_Num_TextChanged" />
				<Button Content="Stop" Height="23" Click="Stop" />
			</StackPanel>
		</GroupBox>
		<StackPanel Name="SP1_Info" Grid.Row="2">
		</StackPanel>
		<StackPanel Name="SP2_Info" Grid.Row="2" Grid.Column="1">
		</StackPanel>
		<StackPanel Grid.Row="3" Grid.ColumnSpan="2">
			<StackPanel Orientation="Horizontal">
				<Label Name="L_NWD" Content="NWD:" Height="28" ToolTip="Największy wspólny dzielnik" />
				<TextBlock Name="TB_NWD" Text="0" Height="23" Padding="3" />
			</StackPanel>
			<StackPanel Orientation="Horizontal">
				<Label Name="L_NWW" Content="NWW:" Height="28" ToolTip="Najmniejsza wspólna wielokrotność" />
				<TextBlock Name="TB_NWW" Height="23" Text="0" Padding="3" />
			</StackPanel>
		</StackPanel>
		<StackPanel Grid.Row="4">
			<Label Name="L1_Divs" Content="Dzielniki:" Height="28" />
			<TextBlock Name="TB1_Divs" Text="" Padding="5" TextWrapping="WrapWithOverflow" />
		</StackPanel>
		<StackPanel Grid.Row="4" Grid.Column="1">
			<Label Name="L2_Divs" Content="Dzielniki:" Height="28" />
			<TextBlock Name="TB2_Divs" Text="" Padding="5" TextWrapping="WrapWithOverflow" />
		</StackPanel>
	</Grid>
</UserControl>